package nine;

/**
 * @author zzb
 * @since 2021-01-13
 */

//Decorator
public abstract class Decorator implements Person {

  protected Person person;

  public void setPerson(Person person) {
    this.person = person;
  }

  @Override
  public void eat() {
    person.eat();
  }
}
